import type { Router } from "vue-router";
import { SessionStorageService } from "@/hooks/useStorage";
import { useCommonStore } from '@/store/common';

export function createGuard(router: Router) {
  const store = useCommonStore();
  router.beforeEach(async (to, from, next) => {
    next()
  });
  router.afterEach((to, from, next) => {
    // 更改titile
  });
}

